import myRequest from "../utils/myRequest";

export const GET_PHONE_CODE = () => {
	return myRequest({
		url: '/admin/sendcode'
	})
}
export const DO_LOGIN = (phone) => {
	return myRequest({
		url: '/admin/loginuser',
		method: 'POST',
		data: {
			phone 
		}
	})
}